using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DominioSATT;
using RepositorioSATT;

namespace ServiceSATT
{
    public class AfiliadoMenorService:IAfiliadoMenorService
    {
        



        public void Actualizar(IInterfazAfiliadomenor ui)
        {

            AfiliadoMenor AfMen = new AfiliadoMenor();
           
            AfMen.DniTutor = ui.DniTutor;
            AfMen.Relacion = ui.Relaciontutor;
            AfMen.Dni = ui.Dni;
            IAfiliadoMenorRepositorio AfMenRep = new AfiliadoMenorRepositorio();
            AfMenRep.Modificar(AfMen);
        }

    }
}
